<?php defined('InShopNC') or exit('Access Invalid!');?>

<!--尾部-->
<div class="footer">
    <div class="cti">
        <div class="cti_cen">
            <ul>
                <?php if ($output['contract_list']) {?>
                    <?php foreach($output['contract_list'] as $k=>$v){?>
                        <?php if($v['cti_descurl']){ ?>
                            <li>
                                <div class="imgBox">
                                    <a href="<?php echo $v['cti_descurl'];?>">
                                        <img src="<?php echo $v['cti_icon_url_60']; ?>" alt="">
                                    </a>
                                </div>
                                <div class="test">
                                    <?php echo $v['cti_name']; ?>
                                </div>
                            </li>
                        <?php }else{ ?>
                            <li>
                                <div class="imgBox">
                                    <img src="<?php echo $v['cti_icon_url_60']; ?>" alt="">
                                </div>
                                <div class="test">
                                    <?php echo $v['cti_name']; ?>
                                </div>
                            </li>
                        <?php }?>
                    <?php }?>
                <?php }?>
            </ul>
        </div>
    </div>
    <div class="faq">
        <div class="faq_cen">
            <?php if(is_array($output['article_list']) && !empty($output['article_list'])){ ?>
            <ul>
                <?php foreach ($output['article_list'] as $k=> $article_class){ ?>
                <?php if(!empty($article_class)){ ?>
                <li>
                    <span>
                        <?php if(is_array($article_class['class'])) echo $article_class['class']['ac_name'];?>
                    </span>
                    <dl>
                        <?php if(is_array($article_class['list']) && !empty($article_class['list'])){ ?>
                        <?php foreach ($article_class['list'] as $article){ ?>
                        <a href="<?php if($article['article_url'] != '')echo $article['article_url'];else echo urlMember('article', 'show',array('article_id'=> $article['article_id']));?>" title="<?php echo $article['article_title']; ?>" target="_blank">
                            <dd>
                                <div class="yuan"></div>
                                <?php echo $article['article_title'];?>
                            </dd>
                        </a>
                            <?php }?>
                        <?php }?>

                    </dl>
                </li>
                    <?php }?>
                <?php }?>
            </ul>
            <?php }?>
        </div>
    </div>
    <div class="sta">
        <div class="sta_cen">
            <ul>
                <li><a href="<?php echo SHOP_SITE_URL;?>" target="_blank"><?php echo $lang['nc_index'];?></a></li>
                <?php if(!empty($output['nav_list']) && is_array($output['nav_list'])){?>
                    <?php foreach($output['nav_list'] as $nav){?>
                        <?php if($nav['nav_location'] == '2'){?>
                            <li>
                                <a <?php if($nav['nav_new_open']){?>target="_blank" <?php }?>href="<?php switch($nav['nav_type']){
                                    case '0':echo $nav['nav_url'];break;
                                    case '1':echo urlShop('search', 'index', array('cate_id'=>$nav['item_id']));break;
                                    case '2':echo urlMember('article', 'article',array('ac_id'=>$nav['item_id']));break;
                                    case '3':echo urlShop('activity', 'index',array('activity_id'=>$nav['item_id']));break;
                                }?>">
                                    <?php echo $nav['nav_title'];?>
                                </a>
                            </li>
                        <?php }?>
                    <?php }?>
                <?php }?>
            </ul>
            <span class="beian"><a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo $output['setting_config']['icp_number']; ?></a></span>
        </div>
    </div>
</div>

<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.cookie.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
<!-- 对比 -->
<script src="<?php echo SHOP_RESOURCE_SITE_URL;?>/js/compare.js"></script>
<script type="text/javascript">
    $(function(){
        // Membership card
        $('[nctype="mcard"]').membershipCard({type:'shop'});
    });
</script>